Adwaita: .title and .subtitle paddings
authorLapo Calamandrei <calamandrei@gmail.com>
Tue, 28 Apr 2015 14:52:46 +0000 (16:52 +0200)
committerLapo Calamandrei <calamandrei@gmail.com>
Tue, 28 Apr 2015 14:52:46 +0000 (16:52 +0200)
Only set side paddings for title and subtitle classes, we had 0
vertical padding set there, no idea why, so let's find out...

gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index 8875261c3109fefba3820195c372fc79e01934b6..40ad38289648f440e7a4f8036af8e9f935e35a50 100644 (file)
@@ -1110,12 +1110,14 @@ GtkComboBox {
 
   .title {
     font-weight: bold;
-    padding: 0px 12px;
+    padding-left: 12px;
+    padding-right: 12px;
   }
 
   .subtitle {
     font-size: smaller;
-    padding: 0 12px;
+    padding-left: 12px;
+    padding-right: 12px;
     @extend .dim-label;
   }
 
index 59a171db248e5d2543cde47566db6205d6d31546..600b139dee4907c1822c52e46b0259ccc9ab7426 100644 (file)
@@ -1554,11 +1554,13 @@ GtkComboBox {
   .titlebar .title,
   .header-bar .title {
     font-weight: bold;
-    padding: 0px 12px; }
+    padding-left: 12px;
+    padding-right: 12px; }
   .titlebar .subtitle,
   .header-bar .subtitle {
     font-size: smaller;
-    padding: 0 12px; }
+    padding-left: 12px;
+    padding-right: 12px; }
   .titlebar .header-bar-separator, .titlebar > GtkBox > .separator.vertical,
   GtkPlacesSidebar.sidebar .view .titlebar > GtkBox > .vertical.separator:backdrop,
   .header-bar .header-bar-separator,
index 8b70a6ee12bf7f519c0b6b0abce1510e711f43e7..f38298ba6828425339d71d4a53dce35eb0643a69 100644 (file)
@@ -1554,11 +1554,13 @@ GtkComboBox {
   .titlebar .title,
   .header-bar .title {
     font-weight: bold;
-    padding: 0px 12px; }
+    padding-left: 12px;
+    padding-right: 12px; }
   .titlebar .subtitle,
   .header-bar .subtitle {
     font-size: smaller;
-    padding: 0 12px; }
+    padding-left: 12px;
+    padding-right: 12px; }
   .titlebar .header-bar-separator, .titlebar > GtkBox > .separator.vertical,
   GtkPlacesSidebar.sidebar .view .titlebar > GtkBox > .vertical.separator:backdrop,
   .header-bar .header-bar-separator,